1
1
.
.
3
3
.
.
3
3
A
A
u
u
t
t
o
o
m
m
a
a
t
t
i
i
c
c
-
-
A
A
u
u
t
t
h
h
o
o
r
r
i
i
z
z
a
a
t
t
i
i
o
o
n
n
H
H
e
e
a
a
d
d
e
e
r
r
-
-
P
P
o
o
s
s
t
t
m
m
a
a
n
n
-
-
A
A
d
d
d
d
I
I
n
n
f
f
o
o
This tutorial shows how to use Postman to add Base64 encoded Authorization Header with Username & Password.
Encode Username & Password (using Online Service)
Add Authorization Header (in Postman using generated string from previous step)
Postman will send HTTP Request to Spring Boot Application created in Login Form - Default tutorial (so you should start it)
E
E
n
n
c
c
o
o
d
d
e
e
U
U
s
s
e
e
r
r
n
n
a
a
m
m
e
e
&
&
P
P
a
a
s
s
s
s
w
w
o
o
r
r
d
d
https://www.base64encode.org
Encode to Base64 format: user:d255f064-6a4b-49bd-af08-766259e7895c
Encode dXNlcjpkMjU1ZjA2NC02YTRiLTQ5YmQtYWYwOC03NjYyNTllNzg5NWM=
A
A
d
d
d
d
A
A
u
u
t
t
h
h
o
o
r
r
i
i
z
z
a
a
t
t
i
i
o
o
n
n
H
H
e
e
a
a
d
d
e
e
r
r
Start Login Form - Default (Postman will send HTTP Request to Spring Boot Application created in this tutorial)
Start Postman
GET: http://localhost:8080/Hello
Headers: (copy from below)
Send
Headers (add Key-Value)
Authorization : dXNlcjpkMjU1ZjA2NC02YTRiLTQ5YmQtYWYwOC03NjYyNTllNzg5NWM=
Add Authorization Header